package com.api.shopapi.service;

import com.api.shopapi.entity.UserFace;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserFaceService {

    int insert(UserFace userFace);

    int delete(String userFaceCode);

    int update(UserFace userFace);

    UserFace getByUserFaceCode(String userFaceCode);

    UserFace getByUserCode(String userCode);

    PageInfo<UserFace> pageByInsCode(int pageIndex,int pageSize,String institutionCode,
                                     String userName,int userType);


    PageInfo<UserFace> pageByGovCode(int pageIndex,int pageSize,String governmentCode,
                                     String userName,int userType);


}
